package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
*  的实体类
**/
@Data
public class Card implements Serializable {

    private static final long serialVersionUID = 1L;

    //ID
    private Integer id;
    //卡名
    private String name;
    //卡类型
    private String type;
    //卡值
    private Integer value;
    //单位
    private String unit;
    //销量
    private Integer num;
    //价格
    private Double price;
    //用户id
    private Integer userId;
    //是否拥有
    private String isHave;

}